package com.example.components.mapper;

import com.example.components.model.AlarmRuleDo;
import com.example.components.model.AlarmRuleDoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AlarmRuleDoMapper {
    int countByExample(AlarmRuleDoExample example);

    int deleteByExample(AlarmRuleDoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AlarmRuleDo record);

    int insertSelective(AlarmRuleDo record);

    List<AlarmRuleDo> selectByExample(AlarmRuleDoExample example);

    AlarmRuleDo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AlarmRuleDo record, @Param("example") AlarmRuleDoExample example);

    int updateByExample(@Param("record") AlarmRuleDo record, @Param("example") AlarmRuleDoExample example);

    int updateByPrimaryKeySelective(AlarmRuleDo record);

    int updateByPrimaryKey(AlarmRuleDo record);
}